<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>名城网上便利店</title>
<link href="${pageContext.request.contextPath}/css/slider.css" rel="stylesheet" type="text/css"/>
<link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet" type="text/css"/>
<link href="${pageContext.request.contextPath}/css/index.css" rel="stylesheet" type="text/css"/>
</head>
<body>

<%@ include file="header.jsp" %>

<div class="container index">
		
		<s:iterator var="cp" value="cpList" status="st">
		<div class="span24">
			<div id="category1" class="category clearfix">
					<div class="title">
						<strong><s:property value="#session.cList[#st.index].cname"/></strong>
						<a href="${pageContext.request.contextPath }/product_findByCidWithPage?cid=<s:property value="#session.cList[#st.index].cid"/>&page=1">更多>></a>
					</div>
                    <ul class="tabContent" style="display: block;">
                    			<s:iterator var="p" value="#cp">
                                <li>
                                    <a target="_blank" href="${pageContext.request.contextPath }/product_findByPid.action?pid=<s:property value="#p.pid"/>">
                                    <img src="${pageContext.request.contextPath}/<s:property value="#p.image"/>" style="display: block;"></a>
                                </li>
                                </s:iterator>
                    </ul>
			</div>
		</div>
        </s:iterator>
		<div class="span24">
			<div class="friendLink">
				<dl>
					<dt>新手指南</dt>
							<dd>
								<a  target="_blank">支付方式</a>
								|
							</dd>
							<dd>
								<a  target="_blank">配送方式</a>
								|
							</dd>
							<dd>
								<a  target="_blank">售后服务</a>
								|
							</dd>
							<dd>
								<a  target="_blank">购物帮助</a>
								|
							</dd>
							<dd>
								<a  target="_blank">蔬菜卡</a>
								|
							</dd>
							<dd>
								<a  target="_blank">礼品卡</a>
								|
							</dd>
							<dd>
								<a target="_blank">银联卡</a>
								|
							</dd>
							<dd>
								<a  target="_blank">亿家卡</a>
								|
							</dd>
							
					<dd class="more">
						<a >更多</a>
					</dd>
				</dl>
			</div>
		</div>
	</div>
<%@ include file="footer.jsp" %>
</body></html>
